#include <iostream>

using namespace std;

void printArray(int [], int);

int main()
{
  int myArray[5] = {1, 2, 3, 4, 5};

  printArray(myArray, 5);

  return 0;
}

void printArray(int array[], int size)
{
  for(int i = 0; i < size; i++ )
  {
    cout << "Array[" << i << "] = " << array[i] << endl;
  }
}
